package lab03.test03;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * Created by Administrator on 2017/11/23.
 */
public class Test02 {
    /**
     * Created by Administrator on 2017/11/16.
     */
    public static class Test {
        public static void main(String[] args) {

    //字节流--读文件
            FileInputStream fileInputStream = null;

            try {
                fileInputStream = new FileInputStream("E:\\hello2.txt");



            } catch (FileNotFoundException e) {
                e.printStackTrace();
            }finally {


                try {
                    fileInputStream.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }}
}
